//============================================================================
// Name        : 50.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C, Ansi-style
//============================================================================
#include <iostream>
#include "CRectangle.h"

using namespace std;

int main(void) {
	float c_width, c_height, circleSum;
	cout << "Please input width: " << endl;
	cin >> c_width;
	cout << "Please input height:" << endl;
	cin >> c_height;
	CRectangle* cRectangle = new CRectangle();
	cRectangle->setWidth(c_width);
	cRectangle->setHeight(c_height);
	c_width = cRectangle->m_width;
	c_height = cRectangle->m_height;
	circleSum = 2*(c_width + c_height);
	cout << "Cirle of the rectangle is: " << circleSum << endl;
	return 0;
}
